package com.bitejiuyeke.job_publish.config;

import jakarta.annotation.PostConstruct;
import org.springframework.stereotype.Component;

/**
 * @Author 比特就业课
 */
@Component
public class AppConfig {

    /**
     * 令牌载荷USER_ID
     */
    public static final String TOKEN_USER_ID = "USER_ID";
    /**
     * 令牌载荷USER_NAME
     */
    public static final String TOKEN_USER_NAME = "USER_NAME";

    /**
     * 请求头中的令牌
     */
    public static final String HEADER_USER_TOKEN = "USER_TOKEN";



    @PostConstruct
    public void init () {
        // Redis 预热
        System.out.println("程序启动");
    }
}
